.container__hero {
    width: 100%;
}

.header-hero__img {
    margin-bottom: 150px;
    background-image: url("../images/hero-full.jpeg");
    background-repeat: no-repeat;
    max-width: 100vw;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.hero__title {
    margin: 0;
    max-width: 620px;
    font-weight: 700;
    font-size: 48px;
    line-height: 140%;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 60px;
}

.hero__text-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.hero__video-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 202px;
    cursor: pointer;
}

.hero__video-button:active circle {
    fill: #1f147b;
}
.hero__video-button:hover circle {
    fill: #1f147b;
}
.hero__video-button:focus circle {
    fill: #1f147b;
}

.hero__btn-text {
    -webkit-transition: background-color 0.3s;
    -o-transition: background-color 0.3s;
    transition: background-color 0.3s;
}

.hero__btn-text:hover {
    color: #cccaca;
}

.video__button {
    margin-right: 30px;
}

.hero__btn-text {
    max-width: 175px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: 0%;
}

.hero-services {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 12px;
}

.hero-services__title {
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
}

.hero-services__text {
    font-weight: 700;
    font-size: 24px;
    line-height: 140%;
}

.hero-services__link {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 315px;
    padding: 35px 49px 41px 35px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: #8D86C9;
    color: #ffffff;
    -webkit-transition: background-color 0.3s;
    -o-transition: background-color 0.3s;
    transition: background-color 0.3s;
}
.hero-services__link:active {
    background-color: #1f147b;
}
.hero-services__link:hover {
    background-color: #1f147b;
}
.hero-services__link:focus {
    background-color: #1f147b;
}

@media (max-width: 1283px ) {
    .hero-services {
        margin: 0 auto;
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 1fr 1fr;
    }
    .hero__title {
        padding-left: 25px;
    }
    .hero__video-button {
        padding-left: 25px;
    }
}

@media (max-width: 700px) {
    .header-hero__img {
        margin-bottom: 25px;
    }

    .hero__video-button {
        margin-bottom: 20px;
    }

    .hero__title {
        margin-bottom: 20px;
    }

    .hero-services {
        margin: 0 auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .hero-services__link {
        width: 80vw;
    }
}

@media (max-width: 500px) {
    .hero__title {
        width: 100%;
        font-size: 36px;
    }
}

